package com.gopay.common.util.compare;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 对比注解
 * Created by Light on 2016/12/2.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Compare {
    String columnName() default "";

    String transMethod() default "";

    String equalsMethod() default "";
}
